home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1990-1992 by Michael Davidson.
- * All rights reserved.
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for any purpose and without fee is hereby
- * granted, provided that the above copyright notice appear in all
- * copies and that both that copyright notice and this permission
- * notice appear in supporting documentation.
- *
- * This software is provided "as is" without express or implied warranty.
- */
-
- /*
- * The Graphics Interchange Format(c) is the Copyright property
- * of CompuServe Incorporated.
- *
- * GIF(sm) is a Service Mark property of CompuServe Incorporated.
- */
-
- #ifndef VG_H
- #define VG_H
-
- #ifndef STATIC
- #define STATIC static
- #endif
-
- /*
- * list structure and definitions
- */
- typedef struct __list
- {
- int flags;
- char *name;
- struct __list *next;
- struct __list *prev;
- } list_t;
-
- /*
- * function prototypes
- */
- list_t *fileListCreate(char **v);
- list_t *fileListSort(list_t *f);
-
- void fileMenu(list_t *filelist);
-
- void showFiles(list_t *filelist);
-
- void cleanup();
-
- void fatal(int err, char *fmt, ...);
-
-
- void *alloca(int);
-
- #define PC_GRAPHICS
- /*
- *
- */
- #define F_NEXT 1
- #define F_PREV 2
- #define F_ESC 3
- #define F_REDRAW 4
-
- #define F_GIF 1
- #define F_JPEG 2
- #define F_MACP 3
- #define F_PBM 4
- #define F_PGM 5
- #define F_PPM 6
- #define F_TARGA 7
- #define F_PCD_O 8
- #define F_PCD_I 9
-
- #endif /* VG_H */
-